package cn.edu.sdjzu.xg.bysj.domain;

import lombok.*;
import util.IdService;

import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString


public final class GraduateProjectStatus implements Comparable<GraduateProjectStatus>, Serializable {
    private Integer id;//对应着数据库表中的非业务主键 object id
    private String description;
    private String no;
    private String remarks;

    public String toString() {
        final String TAB = "    ";

        String retValue = "";

        retValue = " GraduateProjectStatus ( "
                + super.toString() + TAB
                + "id = " + this.id + TAB
                + "description = " + this.description + TAB
                + "no = " + this.no + TAB
                + "remarks = " + this.remarks + TAB
                + " )";

        return retValue;
    }

    @Override
    public int compareTo(GraduateProjectStatus o) {
        // TODO Auto-generated method stub
        return this.id - o.id;
    }
}
